<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>网站信息配置</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel='stylesheet' type='text/css' href='__PUBLIC__/css/admin-style.css' />
<script language="JavaScript" type="text/javascript" charset="utf-8" src="__PUBLIC__/jquery/jquery-1.7.2.min.js"></script>
<script language="JavaScript" type="text/javascript" charset="utf-8" src="__PUBLIC__/js/admin.js"></script>
<script language="javascript">
$(document).ready(function(){
	$("#myform").submit(function(){
		if($feifeicms.form.empty('myform','site_name') == false){
			return false;
		}
		if($feifeicms.form.empty('myform','site_url') == false){
			return false;
		}
		if($feifeicms.form.empty('myform','site_path') == false){
			return false;
		}	
	});
	$("#tabs>a").click(function(){
		var no = $(this).attr('id');
		var n = $("#tabs>a").length;
		showtab('tabs',no,n);
		$("#tabs>a").removeClass("on");
		$(this).addClass("on");
		return false;
	});
	<eq name="url_rewrite" value="1">
	showtab('urlrewrite',1,1);
	showtab('urlrewrites',1,1);
	</eq>	
	<eq name="url_html" value="1">
	showtab('htmlfilesuffix',1,1);
	showtab('urlhtml',1,1);
	</eq>
	<eq name="url_html_list" value="1">
	showtab('listhtml',1,1);
	</eq>
	<gt name="url_html_play" value="0">
	showtab('playhtml',1,1);
	</gt>	
	<eq name="html_cache_on" value="1">
	showtab('htmlcache',1,1);
	</eq>
	<eq name="upload_thumb" value="1">
	showtab('thumb',1,1);
	</eq>
	<eq name="upload_water" value="1">
	showtab('water',1,1);
	</eq>
	<eq name="upload_ftp" value="1">
	showtab('ftptab',1,1);
	</eq>
	<eq name="play_show" value="1">
	showtab('play_urllist',1,1);
	</eq>		
	<eq name="mobile_status" value="1">
	showtab('mobilestatus',1,1);
	</eq>	
});
function dir_html(id,value){
	if(value){
	$('#'+id).val(value);
	}
}	
function dir_html_add(id,value){
	//光标处插入指定内容
	$('#'+id).focus();
	var str = document.selection.createRange();
	str.text = value;	
	//$('#'+id).val($('#'+id).val()+value);
}
function playtab(mid,value){
	if(value>0){
		$('#'+mid).show();
	}else{
		$('#'+mid).hide();
	}
}
</script>
<style>
.dir{  color:#006600; font-size:14px;}
.diri{ color:#666666; font-size:14px; }
label{ color:#666666}
#urlhtml1 .left,#urlhtml1 select,#urlrewrites1 .left,#datacache1 .left,#htmlcache1 .left{ color:#444}
</style>
</head>
<body class="body">
<form action="?s=Admin-Admin-Configsave" method="post" name="myform" id="myform">
<div class="title">
	<div class="tabs" id="tabs">
    
		<a href="javascript:void(0)" class="on" onfocus="this.blur();" id="1">网站信息</a>
		<a href="javascript:void(0)" onfocus="this.blur();" id="2">系统设置</a>
		<a href="javascript:void(0)" onfocus="this.blur();" id="3">网页静态化</a>
		<a href="javascript:void(0)" onfocus="this.blur();" id="4">URL伪静态</a>
		<a href="javascript:void(0)" onfocus="this.blur();" id="5">性能优化</a>
		<a href="javascript:void(0)" onfocus="this.blur();" id="6">附件设置</a>
		<a href="javascript:void(0)" onfocus="this.blur();" id="7">其他设置</a>
  </div>
</div>




<div class="add" id="tabs1">
    <ul><li class="left">网站名称：</li>
    	<li class="right"><input type="text" name="config[site_name]" id="site_name" value="{$site_name}" maxlength="50" error="* 网站名称不能为空!"><span id="site_name_error">*</span><label>请填写贵站名字。</label></li>
    </ul>
    <ul><li class="left">网站域名：</li>
    	<li class="right"><input type="text" name="config[site_url]" id="site_url" value="{$site_url}" maxlength="50" error="* 网站域名不能为空!"><span id="site_url_error">*</span><label>当前模板网站域名,PC站填写PC域名手机站填写手机域名，结尾必需加斜杆 '/'。</label></li>
    </ul>
    
    <ul><li class="left">手机跳转模式：</li>
    	<li class="right"><select name="config[mobile_status]" class="w120" onChange="showtab('mobilestatus',this.value,1);showtab('mobilestatus',this.value,1);"><option value="0" >关闭</option><option value="1" <eq name="mobile_status" value="1">selected</eq>>开启</option></select><label><span id="site_url_error">*</span>开启跳转模式后，根据模板进行跳转。(手机版开发中)</label></li> 
    </ul>
    <div id="mobilestatus1" style="display:none;"> 
     <ul><li class="left">跳转域名：</li>
     <li class="right"><input type="text" name="config[m_url]" id="m_url" value="{$m_url}" maxlength="50" error="* 网站域名不能为空!"><label><span id="site_url_error">*</span>跳转模式下,PC模板跳转到手机站，结尾必需加斜杆 '/'。手机模板跳转PC站</label></li>
    </ul>
    </div>
    <ul><li class="left">安装路径：</li>
    	<li class="right"><input type="text" name="config[site_path]" id="site_path" value="{$site_path}" maxlength="20" error="* 安装路径不能为空!"><span id="site_path_error">*</span><label>网站安装路径，一般不需要修改，结尾必需加斜杆 '/'。</label></li>
    </ul>
    <ul><li class="left">备案信息：</li>
    	<li class="right"><input type="text" name="config[site_icp]" id="site_icp" value="{$site_icp}" maxlength="20">&nbsp;</li>
    </ul>
    <ul><li class="left">站长邮箱：</li>
    	<li class="right"><input type="text" name="config[site_email]" id="site_email" value="{$site_email}" maxlength="20">&nbsp;</li>
    </ul> 
     <ul><li class="left">前台模板：</li>
    	<li class="right"><select name="config[default_theme]" class="w70"><volist name="dir" id="admin"><option value="{$admin.filename}" <eq name="admin.filename" value="$default_theme">selected</eq>>{$admin.filename}</option></volist></select></li>
    </ul>
  
    <ul><li class="left">站点关键字：</li>
    	<li class="right"><input type="text" name="config[site_keywords]" id="site_keywords" value="{$site_keywords|htmlspecialchars}" maxlength="100" class="w400">&nbsp;</li>
    </ul> 
    <ul><li class="left">站点描述：</li>
        <li class="right"><input type="text" name="config[site_description]" id="site_description" value="{$site_description|htmlspecialchars}" maxlength="150" class="w400">&nbsp;</li>
    </ul>
    <ul><li class="left">热门搜索(一行一个)：<br />带超链接使用"|"来隔开</li>
    	<li class="right" style="height:115px"><textarea name="config[site_hot]" id="site_hot" style="height:100px">{$site_hot|htmlspecialchars}</textarea></li>
    </ul>    
    <ul><li class="left">统计代码：</li>
        <li class="right" style="height:75px"><textarea name="config[site_tongji]" id="site_tongji" style="height:60px">{$site_tongji|htmlspecialchars}</textarea></li>
    </ul>         
    <ul><li class="left">版权信息：</li>
    	<li class="right" style="height:75px"><textarea name="config[site_copyright]" id="site_copyright" style="height:60px">{$site_copyright|htmlspecialchars}</textarea></li>
    </ul>                           
</div>
<!-- -->
<div class="add" id="tabs2" style="display:none;"> 
     <ul><li class="left">后台数据管理排序方式：</li>
    	<li class="right"><select name="config[admin_order_type]" class="w70"><option value="addtime">时间</option><option value="id" <eq name="admin_order_type" value="id">selected</eq>>ID值</option></select> 倒序</li>
    </ul> 
    <ul><li class="left">后台编辑数据时更新时间：</li>
    	<li class="right"><select name="config[admin_time_edit]" class="w70"><option value=1 <eq name="admin_time_edit" value="1">selected</eq>>开启</option><option value=0 <eq name="admin_time_edit" value="0">selected</eq>>关闭</option></select>&nbsp;</li>
    </ul> 
    <ul><li class="left">广告文件保存目录：</li>
    	<li class="right"><input type="text" name="config[admin_ads_file]" id="admin_ads_file" value="{$admin_ads_file}" maxlength="10" class="w70">&nbsp;</li>
    </ul>                   
     <ul><li class="left">后台分页展示条数：</li>
    	<li class="right"><input type="text" name="config[url_num_admin]" id="url_num_admin" value="{$url_num_admin}" maxlength="5" class="w70">&nbsp;</li>
    </ul>
    <ul><li class="left">前台分页左右条数：</li>
    	<li class="right"><input type="text" name="config[home_pagenum]" id="home_pagenum" value="{$home_pagenum}" maxlength="5" class="w70">&nbsp;</li>
    </ul>
    <ul><li class="left">MYSQL数据库：</li>
    	<li class="right"><input type="text" name="config[db_name]" id="db_name" value="{$db_name}" maxlength="30" error="* MYSQL数据库名称不能为空!" class="w70"><span id="db_name_error">*</span><label>已存在的MYSQL数据库。</label></li>
    </ul> 
 	
</div>
<!-- -->
<div class="add" id="tabs3" style="display:none;">
    <ul><li class="left">网站运行模式：</li>
    	<li class="right"><select name="config[url_html]" onChange="showtab('htmlfilesuffix',this.value,1);showtab('urlhtml',this.value,1);" class="w120"><option value="0" >动态运行</option>
		</select> 
		</li>
    </ul>

    </div>
</div>
<div class="add" id="tabs4" style="display:none;">
    <ul><li class="left">伪静态重写功能：</li>
    	<li class="right"><select name="config[url_rewrite]" class="w120" onChange="showtab('urlrewrite',this.value,1);showtab('urlrewrites',this.value,1);"><option value="0" >关闭</option><option value="1" <eq name="url_rewrite" value="1">selected</eq>>开启</option></select> <span id="urlrewrite1" style="display:none">后缀名：<select name="config[url_html_suffix]"><option value=".html">.html</option><eq name="url_html_suffix" value=".htm"><option value=".htm" selected>.htm</option><else /><option value=".htm">.htm</option></eq><eq name="url_html_suffix" value=".shtml"><option value=".shtml" selected>.shtml</option><else /><option value=".shtml">.shtml</option></eq><eq name="url_html_suffix" value=".shtm"><option value=".shtm" selected>.shtm</option><else /><option value=".shtm">.shtm</option></eq></select></span><span>注意：使用拼音伪静态规则末尾带/的规则请加上index方便系统过滤否则会出现/.html格式</span></li> 
    </ul>
    <div id="urlrewrites1" style="display:none"> 
   
   	<!-- 软件下载 -->
	   <ul><li class="left">软件栏目页规则：</li>
    	<li class="right"><input type="text" name="config[rewrite_downlist]" id="rewrite_downlist" maxlength="150" value="{$rewrite_downlist|default='/down-show-id-$id-p-$page'}" class="w250 diri"> 变量: $id，$page</li> 
    </ul>
    <ul><li class="left">软件内容页规则：</li>
    	<li class="right"><input type="text" name="config[rewrite_downdetail]" id="rewrite_downdetail" maxlength="150" value="{$rewrite_downdetail|default='/down-read-id-$id'}" class="w250 diri"> 变量: $id</li>            
    </ul>
	 <ul><li class="left">软件下载页规则：</li>
    	<li class="right"><input type="text" name="config[rewrite_downdown]" id="rewrite_downdown" maxlength="150" value="{$rewrite_downdown|default='/down-down-id-$id'}" class="w250 diri"> 变量: $id,$type</li>            
    </ul>
     <ul><li class="left">软件搜索页规则：</li>
    	<li class="right"><input type="text" name="config[rewrite_downsearch]" id="rewrite_downsearch" maxlength="150" value="{$rewrite_downsearch|default='/down-search-wd-$wd-p-$page'}" class="w250 diri"> 变量: $wd，$page</li>            
    </ul>
    <ul><li class="left">新闻栏目页规则：</li>
    	<li class="right"><input type="text" name="config[rewrite_newslist]" id="rewrite_newslist" maxlength="150" value="{$rewrite_newslist|default='/news-show-id-$id-p-$page'}" class="w250 diri"> 变量: $id，$page</li> 
    </ul>
    <ul><li class="left">新闻内容页规则：</li>
    	<li class="right"><input type="text" name="config[rewrite_newsdetail]" id="rewrite_newsdetail" maxlength="150" value="{$rewrite_newsdetail|default='/news-read-id-$id'}" class="w250 diri"> 变量: $id</li>            
    </ul>
     <ul><li class="left">新闻搜索页规则：</li>
    	<li class="right"><input type="text" name="config[rewrite_newssearch]" id="rewrite_newssearch" maxlength="150" value="{$rewrite_newssearch|default='/news-search-wd-$wd-p-$page'}" class="w250 diri"> 变量: $wd，$page</li>            
    </ul>
    <ul><li class="left">新闻TAG页规则：</li>
    	<li class="right"><input type="text" name="config[rewrite_newstag]" id="rewrite_newstag" maxlength="150" value="{$rewrite_newstag|default='/tag-shown-wd-$wd-p-$page'}" class="w250 diri"> 变量: $wd，$page</li>          
    </ul>
     
    <ul><li class="left">专题栏目页规则：</li>
    	<li class="right"><input type="text" name="config[rewrite_speciallist]" id="rewrite_speciallist" maxlength="150" value="{$rewrite_speciallist|default='/special-show-p-$page'}" class="w250 diri"> 变量: $page</li>
    </ul>
    <ul><li class="left">专题内容页规则：</li>
    	<li class="right"><input type="text" name="config[rewrite_specialdetail]" id="rewrite_specialdetail" maxlength="150" value="{$rewrite_specialdetail|default='/special-read-id-$id'}" class="w250 diri"> 变量: $id  $pinyin(专题拼音)  对应动态地址index.php?s=Home-special-read-name-$pinyin</li>            
    </ul>
    <ul><li class="left">留言本规则：</li>
    	<li class="right"><input type="text" name="config[rewrite_guestbook]" id="rewrite_guestbook" maxlength="150" value="{$rewrite_guestbook|default='/gb-show-p-$page'}" class="w250 diri"> 变量:$id，$page</li>            
    </ul>
     <ul><li class="left">地图页规则：</li>
    	<li class="right"><input type="text" name="config[rewrite_map]" id="rewrite_map" maxlength="150" value="{$rewrite_map|default='/map-show-id-$id-limit-$limit'}" class="w250 diri"> 变量:$id，$limit</li>            
    </ul>   
    <ul><li class="left">自定义模板规则：</li>
    	<li class="right"><input type="text" name="config[rewrite_mytpl]" id="rewrite_mytpl" maxlength="150" value="{$rewrite_mytpl|default='/my-show-id-$id'}" class="w250 diri"> 变量:$id</li>            
    </ul>
        <ul><li class="left">会员主页规则：</li>
    	<li class="right"><input type="text" name="config[rewrite_user]" id="rewrite_user" maxlength="150" value="{$rewrite_user|default='/user-id-$id'}" class="w250 diri"> 变量:$id</li>            
    </ul>
     <ul><li class="left">TAG分类规则：</li>
    	<li class="right"><input type="text" name="config[rewrite_taglist]" id="rewrite_taglist" maxlength="150" value="{$rewrite_taglist|default='/down-read-id-$id'}" class="w250 diri"> 变量: $id</li>            
    </ul>
    <ul><li class="right">&nbsp;注意，修改静态格式后您需要修改服务器的 Rewrite 规则设置。如果有使用附加变量，模板调用一定要支持该参数才有效果 <a href="http://bbs.gxlcms.com" target="_blank" style="color:red">获取更多帮助请登陆Gxlcms官方论坛-bbs.gxlcms.com</a></li></ul>
    </div>
</div>
<!-- -->
<div class="add" id="tabs5" style="display:none;">    
     <ul><li class="left">数据缓存方式：</li>
    	<li class="right"><select name="config[data_cache_type]" class="w120"><option value="file">File 文件</option><option value="memcache" <eq name="data_cache_type" value="memcache">selected</eq>>Memcache内存</option><option value="xcache" <eq name="data_cache_type" value="xcache">selected</eq>>xcache内存</option></select> <label>将从数据库查询出的数据缓存起来,可以降低MYSQL所占系统资源。如选择memcache，需要服务器系统以及PHP扩展模块支持</label></li>
    </ul>
    <div id="datacache1">
   
     <ul><li class="left">新闻内容模块：</li>
    	<li class="right"><input type="text" name="config[data_cache_news]" id="data_cache_news" maxlength="8" value="{$data_cache_news}" class="w70"><label>推荐开启，时间设置为86400秒，一天，表数据更新时缓存数据会同步，设为0该模块将不启用，单位秒</label></li>
    </ul>
     <ul><li class="left">专题内容模块：</li>
    	<li class="right"><input type="text" name="config[data_cache_special]" id="data_cache_special" maxlength="8" value="{$data_cache_special}" class="w70"><label>推荐开启，时间设置为86400秒，一天，表数据更新时缓存数据会同步，设为0该模块将不启用，单位秒</label></li>
    </ul>
    
     <ul><li class="left">新闻循环调用标签：</li>
    	<li class="right"><input type="text" name="config[data_cache_newsforeach]" id="data_cache_newsforeach" maxlength="8" value="{$data_cache_newsforeach}" class="w70"><label>推荐开启，时间设置为600秒，开启后需要手动执行更新操作才会清除，设为0该模块将不启用</label></li>
    </ul>
     <ul><li class="left">专题循环调用标签：</li>
    	<li class="right"><input type="text" name="config[data_cache_specialforeach]" id="data_cache_specialforeach" maxlength="8" value="{$data_cache_specialforeach}" class="w70"><label>推荐开启，时间设置为600秒，开启后需要手动执行更新操作才会清除，设为0该模块将不启用</label></li>
    </ul>
     <ul><li class="left">单独循环调用标签：</li>
    	<li class="right"><input type="text" name="config[data_cache_all]" id="data_cache_all" maxlength="8" value="{$data_cache_all}" class="w70"><label>推荐开启，时间设置为86400秒，一天，开启后需要手动执行更新操作才会清除，设为0该模块将不启用，在调用标签中加入cache:ture;即可单独开启</label></li>
    </ul>
                
    </div>
    <ul><li class="left">模板编译缓存功能：</li>
    	<li class="right"><select name="config[tmpl_cache_on]" class="w70"><option value="1">开启</option><option value="0" <eq name="tmpl_cache_on" value="0">selected</eq>>关闭</option></select>&nbsp;</li>
    </ul>
    <ul><li class="left">网站页面缓存功能：</li>
    	<li class="right"><select name="config[html_cache_on]" class="w70" onChange="showtab('htmlcache',this.value,1);"><option value="1">开启</option><option value="0" <eq name="html_cache_on" value="0">selected</eq>>关闭</option></select> <label>网站动态模式运行下根据URL自动生成对应的PHP缓存文件</label></li>
    </ul>
    <div id="htmlcache1" style="display:none">
     <ul><li class="left">首页缓存有效期：</li>
    	<li class="right"><input type="text" name="config[html_cache_index]" id="html_cache_index" maxlength="2" value="{$html_cache_index}" class="w70"><label>设为0该模块将不启用缓存,可以为小数,单位小时</label></li>
    </ul> 
    <ul><li class="left">栏目页缓存有效期：</li>
    	<li class="right"><input type="text" name="config[html_cache_list]" id="html_cache_list" maxlength="2" value="{$html_cache_list}" class="w70"><label>设为0该模块将不启用缓存,可以为小数,单位小时</label></li>
    </ul>
    <ul><li class="left">内容页缓存有效期：</li>
    	<li class="right"><input type="text" name="config[html_cache_content]" id="html_cache_content" maxlength="2" value="{$html_cache_content}" class="w70"><label>设为0该模块将不启用缓存,可以为小数,单位小时</label></li>
    </ul>

    
   
	
    <ul><li class="left">其它缓存有效期：</li>
    	<li class="right"><input type="text" name="config[html_cache_ajax]" id="html_cache_ajax" maxlength="2" value="{$html_cache_ajax}" class="w70"><label>设为0该模块将不启用缓存,可以为小数,单位小时</label></li>
    </ul> 
    </div>
</div>
<!-- -->
<div class="add" id="tabs6" style="display:none;"> 
	
    <ul><li class="left">图片保存路径：</li>
    	<li class="right"><input type="text" name="config[upload_path]" id="upload_path" value="{$upload_path}" maxlength="20" class="w120">&nbsp;</li>
    </ul>
     <ul><li class="left">图片路径保存风格：</li>
    	<li class="right"><input type="text" name="config[upload_style]" id="upload_style" value="{$upload_style}" maxlength="20" class="w120">&nbsp;</li>
    </ul>
             
     <ul><li class="left">图片上传类型：</li>
    	<li class="right"><input type="text" name="config[upload_class]" id="upload_class" value="{$upload_class}"  class="w320"><label>BMP格式的图片不支持水印与缩略图</label></li>
    </ul>        
    <ul><li class="left">批量保存远程图片数量：</li>
    	<li class="right"><input type="text" name="config[upload_http_down]" maxlength="4" value="{$upload_http_down}" class="w70">&nbsp;</li>
    </ul>     
     <ul><li class="left">下载远程图片功能：</li>
    	<li class="right"><select name="config[upload_http]" class="w70"><option value="1">开启</option><option value="0" <eq name="upload_http" value="0">selected</eq>>关闭</option></select> <label>手动添加数据与采集时自动保存图片</label></li>
    </ul>
   
      <ul><li class="left">下载新闻内容远程图片功能：</li>
    	<li class="right"><select name="config[upload_http_news]" class="w70"><option value="1">开启</option><option value="0" <eq name="upload_http_news" value="0">selected</eq>>关闭</option></select> <label>手动添加数据与一键采集时自动保存新闻内容图片_开启上一条功能一样效果</label></li>
    </ul>                        
    <ul><li class="left">生成缩略图功能：</li>
    	<li class="right"><select name="config[upload_thumb]" class="w70" onChange="showtab('thumb',this.value,1);"><option value="1">开启</option><option value="0" <eq name="upload_thumb" value="0">selected</eq>>关闭</option></select>&nbsp;</li>
    </ul>
    <div id="thumb1" style="display:none">
    <ul><li class="left">缩图图宽度与高度：</li>
    	<li class="right"><input type="text" name="config[upload_thumb_w]" value="{$upload_thumb_w}" class="w70"> X <input  type="text" name="config[upload_thumb_h]" value="{$upload_thumb_h}" class="w70"><label>(按原图比率缩小/小于该指定大小的图片将不生成缩略图)</label></li>
    </ul>
     <ul><li class="left">缩图生成方式：</li>
    	<li class="right">
        <select name="config[upload_thumb_pos]" class="w120">
        <option value="1" <eq name="upload_thumb_pos" value="1">selected</eq>>等比例缩</option>
        <option value="2" <eq name="upload_thumb_pos" value="2">selected</eq>>缩放后填</option>
        <option value="3" <eq name="upload_thumb_pos" value="3">selected</eq>>居中裁剪</option>
        <option value="4" <eq name="upload_thumb_pos" value="4">selected</eq>>左上裁剪</option>
        <option value="5" <eq name="upload_thumb_pos" value="5">selected</eq>>右下裁剪</option>
        <option value="6" <eq name="upload_thumb_pos" value="6">selected</eq>>固定尺寸</option>
        </select></li>
    </ul>
    </div>      
    <ul><li class="left">图片加水印功能：</li>
    	<li class="right"><select name="config[upload_water]" class="w70" onChange="showtab('water',this.value,1);"><option value="1">开启</option><option value=0 <eq name="upload_water" value="0">selected</eq>>关闭</option></select>&nbsp;</li>
    </ul>
    <div id="water1" style="display:none">
    <ul><li class="left">水印透明度：</li>
    	<li class="right"><input type="text" name="config[upload_water_pct]" maxlength="3" value="{$upload_water_pct}" class="w70">&nbsp;</li>
    </ul>
    <ul><li class="left">水印位置：</li>
    	<li class="right">
         <select name="config[upload_water_pos]" class="w120">
        <option value="0" <eq name="upload_water_pos" value="0">selected</eq>>随机水印</option>
        <option value="1" <eq name="upload_water_pos" value="1">selected</eq>>左上水印</option>
        <option value="2" <eq name="upload_water_pos" value="2">selected</eq>>上居水印</option>
        <option value="3" <eq name="upload_water_pos" value="3">selected</eq>>右上水印</option>
        <option value="4" <eq name="upload_water_pos" value="4">selected</eq>>左居水印</option>
        <option value="5" <eq name="upload_water_pos" value="5">selected</eq>>居中水印</option>
        <option value="6" <eq name="upload_water_pos" value="6">selected</eq>>右居水印</option>
        <option value="7" <eq name="upload_water_pos" value="7">selected</eq>>左下水印</option>
        <option value="8" <eq name="upload_water_pos" value="8">selected</eq>>下居水印</option>
        <option value="9" <eq name="upload_water_pos" value="9">selected</eq>>右下水印</option>
        </select>
    </ul>
    <ul><li class="left">水印图片路径：</li>
    	<li class="right"><input type="text" name="config[upload_water_img]" maxlength="30" value="{$upload_water_img}">&nbsp;</li>
    </ul>            	
    </div>         
    <ul><li class="left">FTP远程附件功能：</li>
    	<li class="right"><select name="config[upload_ftp]" class="w70" onChange="showtab('ftptab',this.value,1);"><option value="1">开启</option><option value="0" <eq name="upload_ftp" value="0">selected</eq>>关闭</option></select>&nbsp;</li>
    </ul> 
    <div id="ftptab1" style="display:none;"> 
    <ul><li class="left">是否删除本地图片：</li>
    	<li class="right"><select name="config[upload_ftp_del]" class="w70"><option value=0>否</option><option value=1 <eq name="upload_ftp_del" value="1">selected</eq>>是</option></select><label>上传到远程服务器后是否删除本地的</label></li>
    </ul>         
     <ul><li class="left">FTP服务器：</li>
    	<li class="right"><input type="text" name="config[upload_ftp_host]" id="upload_ftp_host" maxlength="30" value="{$upload_ftp_host}" class="w120"><label>填写FTP服务器的IP或域名</label></li>
    </ul>    
    <ul><li class="left">FTP 用户：</li>
    	<li class="right"><input type="text" name="config[upload_ftp_user]" id="upload_ftp_user" value="{$upload_ftp_user}" maxlength="30" class="w120">&nbsp;</li>
    </ul>
    <ul><li class="left">FTP 密码：</li>
    	<li class="right"><input type="text" name="config[upload_ftp_pass]" id="upload_ftp_pass" value="{$upload_ftp_pass}" maxlength="30" class="w120">&nbsp;</li>
    </ul> 
    <ul><li class="left">FTP 端口：</li>
    	<li class="right"><input type="text" name="config[upload_ftp_port]" id="upload_ftp_port" value="{$upload_ftp_port}" maxlength="8" class="w120">&nbsp;</li>
    </ul>    
     <ul><li class="left">远程附件保存文件夹：</li>
    	<li class="right"><input type="text" name="config[upload_ftp_dir]" id="upload_ftp_dir" maxlength="50" value="{$upload_ftp_dir}" class="w120"><label>(相对于FTP服务器根目录, 如/wwwroot/upload/)</label></li>
    </ul>                      
    </div>
    <ul><li class="left">远程附件访问地址：</li>
    	<li class="right"><input type="text" name="config[upload_http_prefix]" id="upload_http_prefix" maxlength="100" value="{$upload_http_prefix}" class="w300"><label>(必须/结尾,留空则不使用,如http://bbs.gxlcms.com/uploads/)</label></li>
    </ul>    
</div>    
<!-- -->

<!-- -->

<!-- -->


<div class="add" id="tabs7" style="display:none;">

       <ul><li class="left">下载文件等待秒数：</li>
    	<li class="right"><input type="text" name="config[play_collect_time]" id="play_collect_time" value="{$play_collect_time}" maxlength="5" class="w70">&nbsp;</li>
    </ul>
        <ul><li class="left">关键词获取个数：</li>
    	<li class="right"><input type="text" name="config[keywords_p]" id="keywords_p" value="{$keywords_p}" maxlength="5" class="w70">&nbsp;</li>
    </ul>
        
         <ul><li class="left">开启判断新闻缩略图宽度：</li>
    	     	<li class="right"><select name="config[news_pic]" class="w70"><option value="1">开启</option><option value="0" <eq name="news_pic" value="0">selected</eq>>关闭</option></select><label>开启后后台添加新闻火车头采集新闻未录入缩略图自动提取一张宽度大于高度图片为缩略图，关闭就提取第一张为略图</label>&nbsp;</li>     
    </ul> 
     <ul><li class="left">采集是否更新内容页：</li>
    	     	<li class="right"><select name="config[imgs_collect]" class="w70"><option value="1">开启</option><option value="0" <eq name="imgs_collect" value="0">selected</eq>>关闭</option></select><label></label>&nbsp;</li>     
    </ul> 
      <ul><li class="left">下载icon图片：</li>
    	<li class="right"><select name="config[upload_icon]" class="w70"><option value="1">开启</option><option value="0" <eq name="upload_icon" value="0">selected</eq>>关闭</option></select> <label>更新是否强制更新icon图片</label></li>
    </ul>
      
    
</div>


<div class="add">
	<ul class="footer"><input type="submit" name="submit" value="提交"> <input type="reset" name="reset" value="重置"></ul>
</div>
</form>
<include file="./Public/system/footer.html" />
</body>
</html>